package com.rc.saas.tenant.vo.invoice;

import com.alibaba.excel.annotation.ExcelProperty;

import java.math.BigDecimal;

/**
 * @author wangzhengwei
 * @create 2021/8/11
 */
public class StationInvoiceExportVo {
    @ExcelProperty("桩群")
    private String stationName;

    @ExcelProperty("设备运营商")
    private String hlhtOperatorName;

    @ExcelProperty("充电类型")
    private String accountType;

    @ExcelProperty("电量")
    private BigDecimal totalPower;

    @ExcelProperty("电费")
    private BigDecimal totalElecMoney;

    @ExcelProperty("服务费")
    private BigDecimal totalSeviceMoney;

    @ExcelProperty("优惠金额")
    private BigDecimal discountAmount;

    @ExcelProperty("开票金额")
    private BigDecimal payAmount;

    public String getHlhtOperatorName() {
        return hlhtOperatorName;
    }

    public void setHlhtOperatorName(String hlhtOperatorName) {
        this.hlhtOperatorName = hlhtOperatorName;
    }

    public BigDecimal getTotalPower() {
        return totalPower;
    }

    public void setTotalPower(BigDecimal totalPower) {
        this.totalPower = totalPower;
    }

    public BigDecimal getTotalElecMoney() {
        return totalElecMoney;
    }

    public void setTotalElecMoney(BigDecimal totalElecMoney) {
        this.totalElecMoney = totalElecMoney;
    }

    public BigDecimal getTotalSeviceMoney() {
        return totalSeviceMoney;
    }

    public void setTotalSeviceMoney(BigDecimal totalSeviceMoney) {
        this.totalSeviceMoney = totalSeviceMoney;
    }


    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }
    public String getAccountType() {
        if ("0".equals(accountType)){
            return "个人订单";
        } else if ("1".equals(accountType)) {
            return "企业订单";
        } else if ("2".equals(accountType)) {
            return "反向互联";
        }
        return accountType;
    }

    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }
}
